/* * Gets the Activity Types only for Fundraising * * PURPOSE: In case the activity types change for fundraising, it would be * easier to change in a stored procedure rather in code. */
CREATEprocedure[dbo].[BAEActivityTypeGetFundraising] AS SELECTDISTINCTACTIVITY_TYPE FROMActivity WHEREACTIVITY_TYPE='PLEDGE'ORACTIVITY_TYPE='GIFT' ORDERBYACTIVITY_TYPEASC;